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

Query time 0.00041

JSON explain

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