SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9523f3a9da450f4899966b08824d8e8b8808fb513c84920d24ac3dc2917464d8' 
  AND token = '2Sti2d7FWpj5PTps/K4ZQzLNPifOXCSMXuitQDWISv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00161

JSON explain

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