SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '16dcd9945d85c0eb8468c8128b6ac98ba48459a423efa452c356e8622bc1e797' 
  AND token = 'SAUsAWVEpTkQBXnlBBYp6x3Z3DX5tmFQVNz6sqg7EBs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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