SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '29b413dd71a1378d2ccfdbbf4dcc73ddb61eb0a4a9b21d599284142514978a3a' 
  AND token = 'CLcEPx4e7rXgAY+dNRcSPWiIKIu6/YM9kexL0nXeMvY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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