SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7dd3bfb0cf8ad97271e8e58bd0e49fbf06ff37a351f79d81922af1eff341c1bf' 
  AND token = 'zpFdZ+Oox8rYbJ3HCzO8aEH3sQvikDNGsZ00dVhX8fc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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