SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '00f9ead31ce091ba3048a01b9174342ff0c5173b07d3733b38aabe9bafc10496' 
  AND token = 'mM3dAiGX9g/0qoczgSkOESAUvLF6UjviYpib1WxFNts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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