SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1a028b6ed367a027271201456f99b7e4a7b67816c2b9801b80a4092f22089a1' 
  AND token = 'ldwd/EweXk0VCQlepEAK7QDDvREk+zzgGg3qveKt6ak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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