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

Query time 0.00032

JSON explain

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