SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '504c227107e36005342fdb4f9f462ec651212b9c0006a7a9e78ee3ba028e0a9a' 
  AND token = 'XAiS4hLpnXvP7Ah2MMpe3dMvcCxzynMgvGeHh7NwdcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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