SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b31d46db6458299c57d3c1fb2de0504398f249c26208292ded52390cf72fc244' 
  AND token = '+3fHjoW4CVRQoI0dWJlSJKsO2paJK7v6nIt67UOZJjs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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