SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b489f8f689227f136e7d3947ed5a04464dd23e846723fd3656805189be3656e' 
  AND token = 'uVhw5PPclAGDveY4YfBYrUYMcknSDCINpbXe5pleK9I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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