SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ccc578728a836d03622c136bcfefe4de36de0ab1a870131bafc66f43057d769' 
  AND token = '/ipa5FGI73MUuzvg0CGX8RZpoM5V57Od9QiPR7pM64Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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