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

Query time 0.00047

JSON explain

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