SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff49918ead19018796af50b5501ba2550d18bfeeaf11177c17771f041b724cf8' 
  AND token = 'ysVGhGSEQMI8kBysDaRA7sOfqXjPzXCLaDVign41Wlo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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