SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30715ef4782eba6edd9866dafcaf039988fe2d37b680b6ed6cd15f37fa67b400' 
  AND token = 'ku254wpKSC4GATvmueqb//UbKE9bs8RCL81Cl5ho8HE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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