SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f0476f165b098bece2be7d1431c7f99a88dc32a3aef9c93f2fde72fbf241240' 
  AND token = 'YmCWwH8pAJcHHKaK0PrAGSMKnPSpOdMPIg7/mPQ/Iak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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