SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50b821066fb592f1cb749cb43358e9879cfda8fab92751959c5745d7f66f827e' 
  AND token = 'P0e/hEN8fafPSfZazN6w2VAEWlcaDOki9NpE9zslzSE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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