SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f2d412254a9dd216384353adca0c300003d317e75be415e9c96315b463b7a0f3' 
  AND token = 'ZeAi9N87ChNqZgN0lpL9Rf04WFZvSka53gDxZ1ahe8U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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