SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ebf49879103446ff86f12b1e677286bb4467e01c8775d76923e03dd6e0a29186' 
  AND token = '1oYNLubK9cDcOPGJaCk8B5+UVG6I8WR+kBzT5sUj7wI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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