SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01f2c07cf62e398cb8d4996e0aafcd21a43c4e2bf0930064b5eaa52080c7b16c' 
  AND token = 'Kznbne32zg6LIP0CfwNKwkKf9RGbL9vcnoOHASPHLXQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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