SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cec21f7981e9f4fcaed5c9c8b4724359ddddd1264348a548d9406bff9450ec6' 
  AND token = '2VAbTYcj8Y7bZiTOGCXHofCxF6hhuzQQArpNWZEB2m0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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