SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9d1e9e8040be76c1b5309da51d2859ca62e8e9ff2986d74e7122109c83cad3c' 
  AND token = 'Z8FXmYo+6W5gILMaXlvfmEZygFcHm4jFc+KyjjHCDeo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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