SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9f317f1e3331601ab5c0e0a71b4151da51449fcac9d530a07fbc8b053604ee1' 
  AND token = '5E3rF4Y2pik57TtpmsU1oimMz92et9V71b1IlZdVAcg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}