SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f711053abd214929c8d29686538aef23547dbe956c3ced3762f3ffbcbfebc42d' 
  AND token = 'OlE1fzWoQW4dQCn9qABEMtPU66rb+NQjl7bItmT/XFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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