SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4491fc68e92336a611bac85a0bd83e57663d8b19f07aaeb58854d59f584e088e' 
  AND token = 'yNGD89dLV/tfKlW9LkMTRQc2imRThakVA68TFBPZois=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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