SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dfb50321225a290e871476220a4d544b433d21ae46f2fb58727de4943b490995' 
  AND token = 'QtIsoiLJ/cNIudEFyHjBBo0sX5Qf9JlJKhcWCVD7tm4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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