SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '314745ee455539c7480fa1decc2df0bf0e0674fd9d517ac7272c9c6b63ae89ff' 
  AND token = 'sD6HpzQt+hh70rErljOr5smaWyg1P77srzkwUeOWPj8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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