SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4cf14b82b5f35fdb15d62770519df1747455c2072f599e5e6519d242097e432d' 
  AND token = 'H8/Ie/9W1eboFx/TOPVKuUvEsbjZ+VGAXZgs0AdGyvA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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