SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7030999ab12f638a8c6c8fc5c101a732f9e51087242175b6b681de2220241668' 
  AND token = 'ToQAm4/0hNYcsKuDxb7HgaIeW2GMkdg0lpk1P0Lffsk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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