SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6458b5bc1b1574d5b4b31ff98a4f9439ffa9337000389c921dd6689f5183de26' 
  AND token = 'T2P9k9HTRzGjZ9gkBI33Nw2hO5MTl/3JqIZ9Dpb4Drg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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