SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e08f7e9cfa82c128452c611ed72903a293d06fd77de1a5b9cbf9bbafed88e4af' 
  AND token = '0GZScKre/1oacYA+/3O5PzS1Ol7ycO40JITh5O22w8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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