SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf9b4146f8ec436e15431137f496c93f672b1bf249fadc9059957f964937296f' 
  AND token = 'Z2R3r/pGlgF9TlzNOxG5fkgACqyb+QCwaD/McqazpYI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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