SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d01e12cf77ce2f3304b501161638c702251a227f22781db2e25ac066beaaddb' 
  AND token = 'SBgdVG/1qu2OdZyQ9mXowl4fkybr5mTeVD6m6Z/5GDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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