SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a72b7162c2c0272092bd9f46ba13cdeda7b326e9bb0725ae4a2164282ed165f' 
  AND token = 'ZKUj5RAhtWrzVKlDQ3A+pkdceZK/jQ4ifknXHGZ8X1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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