SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd83e24b3122aae237ab030c27e97b6464426d20edc034b5da8a66382b8fac156' 
  AND token = '8mmVP2yaCWQhOWPZflO6cT9UFkVEz9i12qbvyYposqo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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