SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6557ef1d294c162e0e1fe09db468aa810c67c3da3ba70873455f00c997e2799a' 
  AND token = '3LOaPBbA7tLcNMBRG6cOgMlfn0UOxmTK+wcPF4rP62k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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